class CreateWorkreports < ActiveRecord::Migration
  def self.up
    create_table :workreports do |t|
      t.date :date
      t.decimal :time, {:default=>0, :scale=>2, :precision=>8}
      t.string :comment

      t.timestamps
    end
  end

  def self.down
    drop_table :workreports
  end
end
